package com.ruoyi.finance.collection.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.finance.collection.domain.vo.ChargeElementsVo;

import java.util.List;

/**
 * @author fuzhen-pc
 * @description TODO
 * @date 2023/7/10 9:13
 */
public interface ChargeElementService extends IService<ChargeElementsVo> {

    //根据项目ID和项目类型查询计费要素
    public List<ChargeElementsVo> selectByProjectIdAndType(Long projectId, String projectType);
    List<ChargeElementsVo> selectByProjectIdAndTypeFromTable(String projectType);

    List<ChargeElementsVo> selectByProjectIdAndTypeFromView(String projectType, Long projectId);
}
